package org.wutopia.examples.pathmappings;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PatchMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@AllArgsConstructor
@Slf4j
public class SDgController {

    @GetMapping("/woshisabi/{id}")
    public String asge() {
        return "agagd";
    }

    @PatchMapping("/nishishuaige?name={id}")
    public String adg() {
        return "agagd";
    }
}
